package phone.qyg.com.qyg.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 作者：lblbh on 2018/6/6 10:00
 * 邮箱：lanbuhan@163.com
 * 功能：场馆订单详情
 */

public class MyVenueDetail implements Parcelable {

//     “id”:1  / /订单Id
//            “orderCode”:”12365ju”//订单编号
//            "roomId":3,        //活动室id
//            “roomName”:”一楼活动室”,   //活动室名称
//            "venueId":3,        //场馆id
//            “venueName”:”一楼活动室”,   //场馆名称
//            “fixImgUrl”:”http://domain:port/data/2017/04/13/223.jpg” //缩略图
//
//            “address”:”呼和浩特28号” //地址
//            “orderTime”:”6月23日” //预约时间
//            “userName”:”张帅” //报名人姓名
//            “phone”:”13260239574”//联系电话
//            “status”:1//报名状态  1：审核中 2：审核通过  3：审核不通过  4-已取消',
//            ”statusName”:”通过” //状态名称
//            “color”:”#000000”;//状态颜色
// “orderDate”’2017-11-18 14:00’     //提交时间
//            “isSign”:0//是否可取消 0可以 1不可以


    public int id;
    public int isSign;
    public int roomId;
    public int status;
    public int venueId;
    public String color;
    public String phone;
    public String address;
    public String userName;
    public String roomName;
    public String orderTime;
    public String venueName;
    public String orderCode;
    public String fixImgUrl;
    public String orderDate;
    public String statusName;

    public MyVenueDetail() {}


    @SuppressWarnings("unchecked")
    public MyVenueDetail(Parcel in) {
        id = in.readInt();
        roomId = in.readInt();
        venueId = in.readInt();
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(id);
        dest.writeInt(roomId);
        dest.writeInt(venueId);
    }


    public static final Creator<MyVenueDetail> CREATOR = new Creator<MyVenueDetail>() {
        @Override
        public MyVenueDetail[] newArray(int size) {
            return new MyVenueDetail[size];
        }

        @Override
        public MyVenueDetail createFromParcel(Parcel in) {
            return new MyVenueDetail(in);
        }
    };
}
